<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<ui:composition	xmlns="http://www.w3.org/1999/xhtml"
				xmlns:h="http://java.sun.com/jsf/html"
				xmlns:f="http://java.sun.com/jsf/core"
				xmlns:ui="http://java.sun.com/jsf/facelets"
				xmlns:a4j="http://richfaces.org/a4j"
				xmlns:rich="http://richfaces.org/rich">

	<h:form id="menuForm">
		<h:panelGrid border="0" cellpadding="0" cellspacing="0" columns="6" style="width: 728px; padding: 0px 0px 0px 0px; background-image: url('#{facesContext.externalContext.requestContextPath}/image/common/toolbar.gif')">
			<h:panelGroup>
				<rich:spacer width="5" />
			</h:panelGroup>
			<h:panelGroup>
				<h:outputText value="#{bundle.user}: " escape="false" styleClass="toolbarLabelClass" />
				<h:outputText value="#{sessionScope.userBean.userLogin}" styleClass="toolbarDataClass" />
			</h:panelGroup>
			<h:panelGroup>
				<h:outputText value="#{bundle.fullName}: " escape="false" styleClass="toolbarLabelClass" />
				<h:outputText value="#{sessionScope.userBean.userLastName}, #{sessionScope.userBean.userFirstName}" styleClass="toolbarDataClass" />
			</h:panelGroup>

			<h:outputLink id="changePassword" value="#{facesContext.externalContext.requestContextPath}/page/authentication/changePassword.xhtml">
				 <h:outputText value="#{bundle.changePassword}" escape="false" />
			</h:outputLink>

			<h:commandLink id="logout" action="#{authenticationJsfBean.logout}">
				 <h:outputText value="#{bundle.logout}" escape="false" />
			</h:commandLink>
		</h:panelGrid>

		<rich:toolBar id="menu" binding="#{authenticationJsfBean.toolBarMenu}" width="728" />
	</h:form>
</ui:composition>